package chapter8.Encapsulation;

public class AccountTest {
    public static void main(String[] args) {
        Account account = new Account();
        account.setName("smh");
        account.setSalary(10);
        account.setPasswd("52113");
        System.out.println(account.info());
        Account account1 = new Account("sbs",123.0,"555555");
        System.out.println(account1.info());
    }
}

